<footer id="pyg_footer">
  <a href="index.html" @@if(context.index==0){class="active"}>
    <span class="fa fa-home"></span>
    <span>首页</span>
  </a>
  <a href="category.html" @@if(context.index==1){class="active"}>
    <span class="fa fa-list-ul"></span>
    <span>分类</span>
  </a>
  <a href="javascript:;" @@if(context.index==2){class="active"}>
    <span class="fa fa-shopping-cart"></span>
    <span>购物车</span>
  </a>
  <a href="me.html" @@if(context.index==3){class="active"}>
    <span class="fa fa-user-circle-o"></span>
    <span>我的</span>
  </a>
</footer>